GetDeviceName

Definition:

GetDeviceName()

 

Description:

Obtain the name of the device the Script is running on.

 

Platforms:

All

 

Parameters:

none

 

Returns:

String containing the name of the current device or an empty string, "", if no device name set.

 

Notes:

The name returned depends upon the type of device:

Device type

Name

Android device

The Bluetooth name given to the device.

iOS device

The Device Name as found under:

Settings → General → About → Name

Windows device

The fully qualified NetBIOS/Computer name.